﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;

namespace LdtJudge.DataEngine.Model.XMLConfigModel.PersonnelConfigModel
{
    /// <summary>
    /// 人员ID补充配置模型
    /// </summary>
    [XmlRootAttribute("root")]
    public class PersonIdSupplyModel
    {
        private List<PersonSupplyCaseType> casetypeField;
        
        /// <summary>
        /// 案件类型集合
        /// </summary>
        [System.Xml.Serialization.XmlElementAttribute("casetype")]
        public List<PersonSupplyCaseType> CaseTypes
        {
            get
            {
                return this.casetypeField;
            }
            set
            {
                this.casetypeField = value;
            }
        }
    }
}


/// <summary>
/// 案件类型
/// </summary>
[System.SerializableAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
public partial class PersonSupplyCaseType
{

    private PersonSupplyCourt courtField;

    private SupplyPersonnel personnelField;

    private string codeField;

    /// <remarks/>
    [XmlElement("court")]
    public PersonSupplyCourt court
    {
        get
        {
            return this.courtField;
        }
        set
        {
            this.courtField = value;
        }
    }

    /// <summary>
    /// 人员信息
    /// </summary>
    [XmlElement("personnel")]
    public SupplyPersonnel Personner 
    {
        get
        {
            return this.personnelField;
        }
        set
        {
            this.personnelField = value;
        }
    }

    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute("code")]
    public string Code
    {
        get
        {
            return this.codeField;
        }
        set
        {
            this.codeField = value;
        }
    }
}

/// <summary>
/// 法院
/// </summary>
public partial class PersonSupplyCourt
{

    private string pathField;

    private string idattrField;

    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string path
    {
        get
        {
            return this.pathField;
        }
        set
        {
            this.pathField = value;
        }
    }

    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string idattr
    {
        get
        {
            return this.idattrField;
        }
        set
        {
            this.idattrField = value;
        }
    }
}

/// <summary>
/// 人员数据
/// </summary>
public partial class SupplyPersonnel
{
    private List<PersonSupplyDetail> personnelDetailField;

    /// <summary>
    /// 人员详情
    /// </summary>
    [XmlElement("detail")]
    public List<PersonSupplyDetail> PersonDetails
    {
        get
        {
            return this.personnelDetailField;
        }
        set
        {
            this.personnelDetailField = value;
        }
    }
}

/// <summary>
/// 人员详情
/// </summary>
public partial class PersonSupplyDetail
{

    private string pathField;

    private string nameattrField;

    private string idattrField;

    private byte typeField;

    private bool typeFieldSpecified;

    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string path
    {
        get
        {
            return this.pathField;
        }
        set
        {
            this.pathField = value;
        }
    }

    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string nameattr
    {
        get
        {
            return this.nameattrField;
        }
        set
        {
            this.nameattrField = value;
        }
    }

    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string idattr
    {
        get
        {
            return this.idattrField;
        }
        set
        {
            this.idattrField = value;
        }
    }

    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public byte type
    {
        get
        {
            return this.typeField;
        }
        set
        {
            this.typeField = value;
        }
    }

    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool typeSpecified
    {
        get
        {
            return this.typeFieldSpecified;
        }
        set
        {
            this.typeFieldSpecified = value;
        }
    }
}

